//
//  DataBaseManager.h
//  HappinessTrip
//
//  Created by dllo on 15/10/19.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>
//第一步:导入系统数据库框架
#import <sqlite3.h>
#import "PlayList.h"


@interface DataBaseManager : NSObject


+(void)openDataBase;//打开数据库


+(void)closeDataBase;//关闭数据库


+(void)createPlayTable;//创建表格


+(void)insertPlayList:(PlayList *)playList;//插入


+(void)deletePlayList:(NSString *)product_id;//删除


+(NSMutableArray *)selectPlayList;//查询


+(NSMutableArray *)selectAllPlayByMovieName:(NSString *)title;//模糊查找




@end
